package com.bw.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import java.util.List;

import com.bw.bean.Classes;
import com.bw.bean.StudentVo;
import com.bw.bean.Teachers;

import com.bw.bean.Teachers;

public interface TeachersDao {
    int deleteByPrimaryKey(Integer id);

    int insert(Teachers record);

    int insertSelective(Teachers record);

    Teachers selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Teachers record);

    int updateByPrimaryKey(Teachers record);

	Teachers getTeacherMessage(@Param("i")int i, @Param("name")String name);

	List<Teachers> list();

	List<Classes> getClasses(Integer id);

	Teachers login(Teachers teacher);
	

}